﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>iNDEX-公文包-待审批</title>
	<link href="css/common.css" rel="stylesheet">
	<link href="css/ec.css" rel="stylesheet">
	<link href="css/list.css" rel="stylesheet">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script language="javascript">
	function selectAllNullorReserve(obj,type){
		if(obj!=null&&obj!=""){
			if(document.getElementsByName(obj)!=undefined&&document.getElementsByName(obj).length>0){    //getElementsByName函数的作用按名字查找对象，返回一个数组。
				var userids = document.getElementsByName(obj);
				if(type=="全选"){
					for(var i=0;i<userids.length;i++){
						if(userids[i].checked == false){
							userids[i].checked = true;
						}
					}
				}else if(type=="全不选"){
					for(var i=0;i<userids.length;i++){
						if(userids[i].checked == true){
							userids[i].checked = false;
						}
					}
				}else if(type=="反选"){
					for(var i=0;i<userids.length;i++){
						if(userids[i].checked == true){
							userids[i].checked = false;
						}else{
							userids[i].checked = true;
						}
					}
				}
			}
		}
	}
</script>

</head>
<body>
		<!-- 主体 -->
				 <div class="tab">
					<h3><a href="">首页</a><a href="">> 公文包</a><a href="">>  系统待审核</a></h3>
				 	<ul class="tabtitle">
			             <li class="active"><a >商户</a></li>
			             <li><a >硬件</a></li>
			             <li><a >促销</a></li>
			             <li><a >忠诚度计划</a></li>
			             <li><a >消息推送</a></li>
			        </ul>
			        <div class="tablist">
			        	<div class="tablt listfir" >
			        		<form name="form1" method="post" action="">
				        	    <table cellpadding="0" cellspacing="0">
                                            <tr >
                                            	<th class="check"><input type="checkbox" onclick="selectAllNullorReserve('userid','全选');">全选</th>
                                                <th>标题</th>
                                                <th>申请人</th>
                                                <th>阅读详情</th>
                                                <th class="icon">操作</th>
                                            </tr>
                                            <tr>
                                            	<td class="check"><input type="checkbox" name="userid"  ></td>
                                                <td>制卡单位</td>
                                                <td>卡名称</td>
                                                <td>卡名称</td>
                                                <td><a href="">详情</a></td>
                                               <td class="icon"><div><a class="delete"></a>
			                					<a class="disabled"></a>
			                					<a class="lock"></a>
			                					<a class="edit"></a></div></td>
                                            </tr>
                                            <tr>
                                            	<td class="check"><input type="checkbox" name="userid" ></td>
                                               <td>制卡单位</td>
                                                <td>卡名称</td>
                                                <td>卡名称</td>
                                                 <td><a href="">详情</a></td>
                                                <td class="icon"><div><a class="delete"></a>
			                					<a class="disabled"></a>
			                					<a class="lock"></a>
			                					<a class="edit"></a></div></td>
                                            </tr>
                                            <tr>
                                           		 <td class="check"><input type="checkbox" name="userid" ></td>
                                                <td>制卡单位</td>
                                                <td>卡名称</td>
                                                <td>卡名称</td>
                                                <td><a href="">详情</a></td>
                                                <td class="icon"><div><a class="delete"></a>
			                					<a class="disabled"></a>
			                					<a class="lock"></a>
			                					<a class="edit"></a></div></td>
                                            </tr>
                                            <tr>
                                              <td class="check"><input type="checkbox" name="userid" ></td>
                                               <td>制卡单位</td>
                                                <td>卡名称</td>
                                                <td>卡名称</td>
                                                <td><a href="">详情</a></td>
                                               <td class="icon"><div><a class="delete"></a>
			                					<a class="disabled"></a>
			                					<a class="lock"></a>
			                					<a class="edit"></a></div></td>
                                            </tr>
                                          </table>
			             		</form>
								<div class="btns">
									<input type="button" value="全选" onclick="selectAllNullorReserve('userid','全选');" />
									<input type="button" value="反选" onclick="selectAllNullorReserve('userid','反选');" />
									<input type="button" value="审核通过">
									<input type="button" value="审核不通过" >
								</div>
				             </div>
				             <div class="tablt listsec">
                            </div>

			        </div>
				 </div>
	<script src="js/jquery-1.4.2.min.js"></script>
	<script src="js/ec.js"></script>
</body>
</html>